ExamPlay Light Logo
היכנס

Computer Science for IGCSE & O level - Programming (Section 14 - No. 25)

In the provided Java code, what is the purpose of `try...catch` blocks?
To create new files
To handle potential errors during file operations
To read the contents of the file
To write to the file

הֶסבֵּר

Try and catch is used for error-handling, it enables developers to gracefully manage anticipated problems during the program's execution.

הערות (0)

התחבר כדי להגיב
פִּרסוֹמֶת
BrainBehindX Inc Logo
©2026; מופעל על ידי BrainBehindX Inc